.post {
  width: 80%;
  margin: 0 auto;
  .postList {
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid #eeeeee;
    .postItem {
      position: relative;
      box-sizing: border-box;
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding: 30px 0 30px 20px;
      overflow: hidden;
      cursor: pointer;
      border-bottom: 1px solid #eeeeee;
      &:last-child {
        border-bottom: none;
      }
      .delBtn {
        position: absolute;
        top: 50%;
        right: 20px;
        font-size: 12px;
        line-height: 20px;
        color: var(--el-color-error);
        text-decoration: underline;
        text-underline-offset: 2px;
        cursor: pointer;

        //下划线和文字间距
        transform: translateY(-12px);
      }
      .postItem__comments {
        position: relative;
        box-sizing: border-box;
        width: 50px;
        padding: 5px 0;
        margin-right: 20px;
        font-size: 16px;
        font-size: 12px;
        color: #666666;
        text-align: center;
        background: #eeeeee;
        border-radius: 2px;
        &::after {
          position: absolute;
          top: calc(100% - 14px);
          right: -8px;
          content: "";
          border-top: 8px solid transparent;
          border-right: 8px solid transparent;
          border-bottom: 8px solid #eeeeee;
          border-left: 8px solid transparent;
          transform: rotate(45deg);
        }
      }
      .postItem__con {
        flex: 1;
        color: var(--el-color-primary);
      }
      .postItem__info {
        display: flex;
        align-items: center;
        width: 300px;
        .postItem__info__userName {
          width: 100px;
          font-size: 14px;
          color: #999999;
        }
        .postItem__info__createTime {
          width: 150px;
          font-size: 14px;
          color: #999999;
        }
      }
    }
  }
  .postEdit {
    .postEditTitle {
      padding: 30px 0 20px;
      margin-right: 16px;
      font-family: "Microsoft Yahei", "ST Hei";
      font-size: 14px;
      line-height: 14px;
    }
    .postTitle {
      padding-bottom: 10px;
    }
    .submitBtn {
      margin: 20px 0;
    }
  }
}
